package com.dingreading.cloud.admin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class StaffRoleDto implements Serializable {

    /**
     * 员工id
     */
    private Long id;

    private String corpUid;

    /**
     * 门店uid
     */
    private String storeUid;

    /**
     * 门店名
     */
    private String storeName;

    /**
     * 真实全名
     */
    private String fullName;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 员工号
     */
    private String username;

    private String pubPhone;

    private String priPhone;

    /**
     * 员工uid
     */
    private String uid;

    private Integer enabled;

    private String roles;

    private String roleName;

    private String lastLoginTime;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
}

